package com.swallow.cloud.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
/**
 * <p>
 * 部门表
 * </p>
 *
 * @author swallow
 * @since 2019-03-18
 */
@TableName("sys_office")
public class SysOffice extends Model<SysOffice> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;
    /**
     * 名称
     */
    private String name;

    /**
     * 父节点
     */
    private String parentId;

    /**
     * 父节点codes
     */
    private String parentIds;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改时间
     */
    private LocalDateTime uodateTime;

    /**
     * 修改人
     */
    private LocalDateTime updateBy;

    /**
     * 删除 0否 1 是
     */
    private String delFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getUodateTime() {
        return uodateTime;
    }

    public void setUodateTime(LocalDateTime uodateTime) {
        this.uodateTime = uodateTime;
    }

    public LocalDateTime getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(LocalDateTime updateBy) {
        this.updateBy = updateBy;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "SysOffice{" +
        ", name=" + name +
        ", parentId=" + parentId +
        ", parentIds=" + parentIds +
        ", createTime=" + createTime +
        ", createBy=" + createBy +
        ", uodateTime=" + uodateTime +
        ", updateBy=" + updateBy +
        ", delFlag=" + delFlag +
        "}";
    }
}
